home *** CD-ROM | disk | FTP | other *** search
- Path: engnews1.Eng.Sun.COM!taumet!clamage
- From: David Byrden <100101.2547@compuserve.com>
- Newsgroups: comp.std.c++
- Subject: Re: Q: Generic Callbacks -- "Object->*func(...)"
- Date: 15 Feb 1996 23:12:52 GMT
- Organization: self-employed
- Approved: clamage@eng.sun.com (comp.std.c++)
- Message-ID: <4g0csh$dq5@news.bridge.net>
- References: <4fti32$p3p@bcarh8ab.bnr.ca>
- NNTP-Posting-Host: taumet.eng.sun.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset="us-ascii"
- Content-Transfer-Encoding: 7bit
- X-Nntp-Posting-Host: ppp-mia1-61.bridge.net
- X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
- X-Lines: 17
- Content-Length: 527
- Originator: clamage@taumet
-
-
-
- >> I'd like to be able to call "DoIt" with any type of object and a
- >> pointer to any of that object's member functions that match the
- >> 'parmlist'
-
-
- In the C++ Report, February 1995, Richard Hickey suggested a library of
- universal callback functors which would encapsulate both an object
- reference and a pointer to a member function of that object.
-
- The caller, and the provider of the callback, would not have to share
- any type information other than the callback library itself.
-
- David
-
-
- [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
- Contact address: std-c++-request@ncar.ucar.edu. The moderation policy is
- summarized in http://reality.sgi.com/employees/austern_mti/std-c++/policy.html
- ]
-